package com.bysj.lms.mapper;

import com.bysj.lms.pojo.entity.OutlineVersion;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.lettuce.core.dynamic.annotation.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xiaojiakai
 * @since 2022-04-27
 */
@Repository
public interface OutlineVersionMapper extends BaseMapper<OutlineVersion> {

    int add(@Param("outlineVersion")OutlineVersion outlineVersion,@Param("grades")List<Integer> grades);

    String genratorNumber(String number);

    List<OutlineVersion> getList(String major);
}
